package dkbta.server.util.query;

import java.util.Hashtable;

/**
 * @author Arkady Mishiev
 *
 */

public class Results {

	private static int s_coundId = 1;
	private String m_id;
	private String m_queryId;
	private String m_results;
	private String m_clientId;

	public Results(String queryId, String results, String clientId){
		m_id = Integer.toString(s_coundId++);
		m_queryId = queryId;
		m_results = results;
		m_clientId = clientId;
	}

	public String getId(){
		return m_id;
	}

	public String getQueryId(){
		return m_queryId;
	}

	public String toString(){
		return m_results + " qId #" + m_queryId;	
	}

	public String getClientId() {
		return m_clientId;
	}
}
